package org.jeecg.modules.putstorage.service;

import org.jeecg.modules.putstorage.entity.ZcglPutStorageAssets;
import org.jeecg.modules.putstorage.entity.ZcglPutStorage;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * @Description: 物资入库表
 * @Author: jeecg-boot
 * @Date:   2022-10-17
 * @Version: V1.0
 */
public interface IZcglPutStorageService extends IService<ZcglPutStorage> {
	int totayCount();
	/**
	 * 添加一对多
	 *
	 */
	public void saveMain(ZcglPutStorage zcglPutStorage,List<ZcglPutStorageAssets> zcglPutStorageAssetsList) ;

	/**
	 * 修改一对多
	 *
	 */
	public void updateMain(ZcglPutStorage zcglPutStorage,List<ZcglPutStorageAssets> zcglPutStorageAssetsList);

	/**
	 * 删除一对多
	 */
	public void delMain (String id);

	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);


	List<ZcglPutStorage> listByAsset(Map mp);

}
